package com.cssl.client;

import com.cssl.pojo.Published;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "gateway",path = "book")
public interface PublishedOpenFile {
    //通过id查询到对象
    @PostMapping("/selpid")
    public Published selid(@RequestParam(name = "pid") Integer pid);
}
